package Chapter04;

public class Table3 {

	public static void main(String[] args) {
		int a;
		
		System.out.println("N    10*N    100*N    1000*N");
		
		for (a = 1; a <= 5; a++) {
			
			System.out.println(a + "     " + a * 10 + "      " + a * 100 + "      " + a * 1000);
		}

	}

}